package com.mtt.erp.common.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(
        description = "分页信息"
)
public class QueryRequest implements Serializable {

    private static final long serialVersionUID = -4869594085374385813L;
    @ApiModelProperty(
            value = "页面记录数(默认10)"
    )
    private int pageSize = 10;
    @ApiModelProperty(
            value = "第几页(默认1)"
    )
    private int pageNum = 1;
    @ApiModelProperty(
            value = "(排序规则)"
    )
    private String sortField;
    @ApiModelProperty(
            value = "排序值的顺序(排序规则)"
    )
    private String sortOrder;
}
